﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using Timesheet.Data.Infrastructure;
using Timesheet.Data.Repository;
using Timesheet.Domain;

namespace Timesheet.Data.Repository
{
    public class DisciplinesRepository:Repository<Disciplines>,IDisciplinesRepository 
    {
        public DisciplinesRepository(IUnitOfWork unit)
            : base(unit)
        {
        }

       #region IDisciplinesRepository Members

       public bool CheckExist(Disciplines project)
       {
           throw new NotImplementedException();
       }

       public Disciplines GetByID(int ID)
       {
           return GetById(ID);
       }

       public IQueryable<Disciplines> GetQuery()
       {
           return DbSet;
       }

       #endregion

    }
}
